package com.bdzl.ecs.dao;

import com.bdzl.pub.entity.loan.ContractTmplDO;
import com.bdzl.pub.vo.loan.ContractTmplVO;

import java.util.List;
import java.util.Map;

/**
 * 电子合同模板表
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 14:00:08
 */
public interface ContractTmplDao {

	ContractTmplDO get(Integer tmplId);

	List<ContractTmplDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(ContractTmplDO contractTmpl);

	int update(ContractTmplDO contractTmpl);

	int remove(Integer tmpl_id);

	int batchRemove(Integer[] tmplIds);

	List<ContractTmplVO> listAndUser(Map map);
	int listAndUserCount(Map map);
}
